package com.lingnan.entity.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

import java.util.List;

// 批量简历状态通知请求
@Data
public class BatchResumeStatusRequest {
    @NotNull(message = "通知列表不能为空")
    @Valid
    public  // 自定义通知请求
    @Data
    class CustomNotificationRequest {
        @NotBlank(message = "通知类型不能为空")
        private String type; // RESUME_STATUS, JOB_RECOMMENDATION, BLACKLIST_WARNING 等

        @NotNull(message = "接收者ID不能为空")
        private Long receiverId;

        // 以下字段根据不同通知类型选填
        private String companyName;
        private String position;
        private String status;
        private String jobTitle;
        private String salary;
        private String reason;
    }List<ResumeStatusRequest> notifications;
}